package org.smart4j.framework.util;

import org.apache.commons.lang3.ArrayUtils;

/**
 *
 * 数组工具类
 *
 * @author: Mr.Zhou
 * @create: 2018-10-24 15:02
 **/
public final class ArrayUtil {

    /**
     * 判断数组是否非空
     */
    public static boolean isNotEmpty(Object[] array){
        return ArrayUtils.isNotEmpty(array);
    }

    /**
     * 判断数组是否为空
     * @return
     */
    public static boolean isEmpty(Object[] array){
        return ArrayUtils.isEmpty(array);
    }


}
